package com.ruoyi.order.domain;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

import com.entity.concat.ITimeEntity;
import com.ruoyi.common.core.domain.Entity;

/**
 * 订单日志对象 mg_order_log
 * 
 * @author ruoyi
 * @date 2024-01-09
 */
public class OrderLog extends Entity implements ITimeEntity<Long>
{
    private static final long serialVersionUID = 1L;

    /** 主键编号 */
    private Integer id;

    /** 订单id */
    @Excel(name = "订单id")
    private Integer orderId;

    /**
     * 类型 0 用户端 1 管理端 2 管理、用户共用
     */
    private Integer type;
    
    /** 支付管理id */
    @Excel(name = "支付管理id")
    private Integer payManagerId;

    /** 用户id */
    @Excel(name = "用户id")
    private Integer userId;

    /** 需求描述 */
    @Excel(name = "需求描述")
    private String requirement;

    /** 用户端状态 -1  已取消 0   待报价 1   已报价 2   待支付 3   待确认 4   处理中 5   已返稿 6 待审核 7 未通过 8  已完成 9 创建订单 10 售后  11 反馈 12 取消售后 13 取消 反馈 */
    @Excel(name = "用户端状态 -1  已取消 0   待报价 1   已报价 2   待支付 3   待确认 4   处理中 5   已返稿 6 待审核 7 未通过 8  已完成 9 创建订单 10 售后  11 反馈 12 取消售后 13 取消 反馈")
    private Integer orderStatus;
    
    private BigDecimal price;
  
    public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public Integer getPayManagerId() {
		return payManagerId;
	}

	public void setPayManagerId(Integer payManagerId) {
		this.payManagerId = payManagerId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public void setRequirement(String requirement) 
    {
        this.requirement = requirement;
    }

    public String getRequirement() 
    {
        return requirement;
    }
    public void setOrderStatus(Integer orderStatus) 
    {
        this.orderStatus = orderStatus;
    }

    public Integer getOrderStatus() 
    {
        return orderStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("payManagerId", getPayManagerId())
            .append("userId", getUserId())
            .append("requirement", getRequirement())
            .append("orderStatus", getOrderStatus())
            .append("createTime", getCreateTime())
            .toString();
    }

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
}
